package com.fyx.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import javax.persistence.Transient;
import java.sql.Timestamp;
import java.util.List;

@Data
@Document(collection = "mail")
public class GameEmailEntity {
    @Transient
    private List<Timestamp> qTime;

//    @Field("_id")
//    private String _id;

    private String receiver;

    private String received;

    @Transient
    private  String nickname;

    @Transient
    private  String maxId ;

    @Field("id")
    private String  id;

    private String title;

    private String content;

    private int mail_type;

    private int mail_stype;

    private String friend_head;

    private String friend_name;

    private String have_read;

    private String[] attachment;

    private long diamond;

    private long gold;

    private long create_time;

    private String create_userId;

    private String create_userName;

    @Transient
    private String flag;







}
